package nccloud.itf.bd.datacoll;

import java.util.Map;

import nc.ui.querytemplate.querytree.IQueryScheme;
import nc.vo.hrjx.DataCollVO;
import nc.vo.pub.BusinessException;

/**
* <b> </b>
*
* <p>
    *
    * </p>
*
* Create at 2009-12-25 上午09:32:55
*
* @author bq
* @since V6.0
*/

public interface IDatacollQryService {

    public DataCollVO[] queryAll() throws BusinessException;

    public DataCollVO[] query(String where) throws BusinessException;

    public String[] queryPKs(String where) throws BusinessException;

    public DataCollVO findByPK(String key) throws BusinessException;
    
    public DataCollVO[] query(String sessionid, IQueryScheme scheme) throws BusinessException;
    public Map<String, Object> queryByPage(String sessionid, IQueryScheme scheme, int pagecount, int pageNum) throws BusinessException;
    public Map<String, Object> queryByPage(String sessionid, Map<String, Object> querycondition, int pagecount, int pageNum) throws BusinessException;
}
